home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.5 Complementary Applications 2004 February / SGI IRIX 6.5 Complementary Applications 2004 February.iso / dist / cde.idb / usr / dt / share / man / cat3 / XmCreateQuestionDialog.z / XmCreateQuestionDialog
Encoding:
Text File  |  2003-11-18  |  2.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeQQQQuuuueeeessssttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeQQQQuuuueeeessssttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       _X_m_C_r_e_a_t_e_Q_u_e_s_t_i_o_n_D_i_a_l_o_g - The MessageBox QuestionDialog
  10.       convenience creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.       #include <Xm/MessageB.h>
  14.  
  15.       Widget XmCreateQuestionDialog    (ppppaaaarrrreeeennnntttt,,,, nnnnaaaammmmeeee,,,, aaaarrrrgggglllliiiisssstttt,,,,    aaaarrrrggggccccoooouuuunnnntttt)
  16.            _W_i_d_g_e_t     ppppaaaarrrreeeennnntttt;
  17.            _S_t_r_i_n_g     nnnnaaaammmmeeee;
  18.            _A_r_g_L_i_s_t     aaaarrrrgggglllliiiisssstttt;
  19.            _C_a_r_d_i_n_a_l     aaaarrrrggggccccoooouuuunnnntttt;
  20.  
  21.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.       _X_m_C_r_e_a_t_e_Q_u_e_s_t_i_o_n_D_i_a_l_o_g is a convenience creation function
  23.       that creates a DialogShell and an unmanaged MessageBox child
  24.       of the DialogShell.  A QuestionDialog    is used    to get the
  25.       answer to a question from the    user.  It includes a symbol, a
  26.       message, and three buttons.    The default symbol is a
  27.       question mark.  The default button labels are    _O_K, _C_a_n_c_e_l,
  28.       and _H_e_l_p.
  29.  
  30.       Use _X_t_M_a_n_a_g_e_C_h_i_l_d to pop up the QuestionDialog (passing the
  31.       MessageBox as    the widget parameter); use _X_t_U_n_m_a_n_a_g_e_C_h_i_l_d to
  32.       pop it down.
  33.  
  34.       ppppaaaarrrreeeennnntttt
  35.            Specifies the parent widget ID
  36.  
  37.       nnnnaaaammmmeeee Specifies the name of the created widget
  38.  
  39.       aaaarrrrgggglllliiiisssstttt
  40.            Specifies the argument list
  41.  
  42.       aaaarrrrggggccccoooouuuunnnntttt
  43.            Specifies the number of attribute/value pairs in    the
  44.            argument    list (aaaarrrrgggglllliiiisssstttt)
  45.  
  46.       For a    complete definition of MessageBox and its associated
  47.       resources, see _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  48.  
  49.      RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  50.       Returns the MessageBox widget    ID.
  51.  
  52.      RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN
  53.       _X_m_M_e_s_s_a_g_e_B_o_x(_3_X).
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                        (printed 11/11/03)
  64.  
  65.  
  66.  
  67.